tapply
{base}
Create statistical summaries by group based on the levels of one or several factors
barplot
{graphics}
Plot a simple bar plot
geom_histogram
{GGPLOT2}
Generates a histogram
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
with
{base}
evaluate expression in the context of a data frame
ggtitle
{GGPLOT2}
Generates a title for a ggplot graph
attach
{base}
Attach Set of R Objects to Search Path
hist
{graphics}
Plot a simple histogram
get_mode
{rstatix}
Compute the mode in a given vector.
class
{base}
Retrieve class of an R object
cor.test
{stats}
Test for Association/Correlation Between Paired Samples
factor
{base}
Create a factor
ggplot
{GGPLOT2}
Create a ggplot graph
c
{base}
Combine values/vectors into a vector
plot
{graphics}
Generic function from base R to produce a plot
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
setwd
{base}
Set Working Directory
str
{utils}
Get the structure of an R object
boxplot
{graphics}
Plot a simple box plot
which.max
{base}
return index of the largest value in a vector
cor
{stats}
Calculate Correlation Matrix
as.factor
{base}
Coerce a vector to factor
ylab
{GGPLOT2}
Label the y axis (ggplot)
library
{base}
Load an R package
read.spss
{foreign}
Read a .sav file (SPSS data)
tabulate
{base}
Counts the number of times each integer occurs in an integer-only vector
order
{base}
Get indexes that will sort a vector
round
{base}
Rounds numbers
as.numeric
{base}
Coerce a vector to numeric
scale_y_continuous
{GGPLOT2}
Customise continuous y axis
lprop
{questionr}
Display row percentages of a two-way frequency table
chisq.test
{stats}
Chi-Squared test (e.g. for cross-tabulations)
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
unique
{base}
get unique elements
t.test
{stats}
Performs one and two sample t-tests on vectors of data.
seq
{base}
Create a sequence
mean
{base}
Get mean of a vector
sd
{stats}
Get standard deviation of a vector
which
{base}
return indexes of TRUE entries of a logical vector
par
{graphics}
Set parameters of the plotting device
addmargins
{stats}
Puts Arbitrary Margins on Multidimensional Tables or Arrays
xlab
{GGPLOT2}
Label the x axis (ggplot)
prop.table
{base}
Transform frequency table into table of proportions
The end!